

<script>

    //引入组件
    import MyButton from "./components/Mybutton.vue"
    
    /* 编写组件的代码 */
    export default{
        data(){
            return{
                msg:"我超级爱vue"
            }
        },

        components:{
            MyButton
        }
    }
</script>

<template>
    <h1>{{ msg }}</h1>
    <MyButton></MyButton>
</template>